<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <form action="insert_a_user" method="get">
    <!--<form action="insert_a_user_binding" method="get">-->
        <div>
            <div>工号：<input type="text" maxlength="6" th:name="user_code" /></div>
            <div>姓名：<input type="text" maxlength="6" th:name="user_name"/></div>
            <div>手机号码:<input type="text" maxlength="11" th:name="telephone" /></div>
            <div>专业<select th:name="user_pro_id">
                <option th:each="p:${pro_list}"
                    th:value="${p.pro_id}"
                    th:text="${p.pro_name}"></option>
                </select>
            </div>
            <div><input  type="submit" value="插入"/></div>
        </div>
    </form>
</body>
</html>